package cn.yunhe.model;

/**
 * 
 * @author Administrator
 *
 */
public class User {

	private int userid;
	private String uname;
	private String pass;
	private String phone;
	private String username;
	private int isadmin;

	public User() {
	}

	public User(String uname, String pass, String phone, String username, int isadmin) {
		this.uname = uname;
		this.pass = pass;
		this.phone = phone;
		this.username = username;
		this.isadmin = isadmin;
	}

	public User(String uname, String pass, String phone, String username) {
		this.uname = uname;
		this.pass = pass;
		this.phone = phone;
		this.username = username;
	}

	public int getUserid() {
		return userid;
	}

	public void setUserid(int userid) {
		this.userid = userid;
	}

	public String getUname() {
		return uname;
	}

	public void setUname(String uname) {
		this.uname = uname;
	}

	public String getPass() {
		return pass;
	}

	public void setPass(String pass) {
		this.pass = pass;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public int getIsadmin() {
		return isadmin;
	}

	public void setIsadmin(int isadmin) {
		this.isadmin = isadmin;
	}

}
